import javax.swing.*;
import java.awt.*;

public class Util {
    public static Image getImage(String path){
        return new ImageIcon(Util.class.getResource(path)).getImage();
    }

    public static ImageIcon getIcon(String path){
        return new ImageIcon(Util.class.getResource(path));
    }
}
